# 导包
import requests

# 创建接口类
from IHRM import app


class emplyee_API:
    # http: // ihrm - test.itheima.net / api / sys / login
    def __init__(self):
        self.url_add_employee = app.BASE_URL +"/api/sys/user"

# 员工添加
    def add_employee(self,add_json_data):
        return  requests.post(url=self.url_add_employee,json=add_json_data,headers=app.header_data)


# 员工修改


# 员工查询

# 员工删除